package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.entity.Result;
import com.itheima.pojo.Permission;

import java.util.List;

public interface PermissionService {
    PageResult findByPage(QueryPageBean queryPageBean);

    Result add(Permission permission);

    Result edit(Permission permission);

    Result findByID(Integer id);

    Result delete(Integer id);

    List<Permission> findAllPerm();

}
